package com.lx.dao;

import com.lx.model.PrintDishPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrintDishPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintDishPlan record);

    int insertSelective(PrintDishPlan record);

    PrintDishPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintDishPlan record);

    int updateByPrimaryKey(PrintDishPlan record);

    PrintDishPlan selectByShopDishId(Long dishId);

    List<PrintDishPlan> selectByShopDishIds(@Param("dishIds") List<Long> dishIds);
}